import { http } from '@/utils/http/axios';

export function listMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/list',
    method: 'get',
    data,
  });
}

export function pageMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/page',
    method: 'post',
    data,
  });
}

export function addMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/add',
    method: 'post',
    data,
  });
}

export function updateMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/update',
    method: 'post',
    data,
  });
}

export function delMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/delete',
    method: 'post',
    data,
  });
}

export function infoMachineParameter(data = {}) {
  return http.request({
    url: '/admin/gather/machine/info',
    method: 'post',
    data,
  });
}

export function getGatherMachineByMachineCode(data = {}) {
  return http.request({
    url: '/admin/gather/machine/byMachineCode',
    method: 'post',
    data,
  });
}


